#include "startgame.h"
#include "dinogame.h"

#include <QApplication>

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    startgame start;
    dinogame game;
    QObject::connect(&start,&startgame::startgameclicked,[&](){
        start.hide();
        game.show();
    });
    start.show();
    return a.exec();
}
